package com.yanqu.road.entity.activity.suitang.entity.team;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class CrossSuiTangTeam {

    private long userId;
    // 昵称
    private String nickname = "";
    // 出发城市
    private int fromCityId;
    // 所属城市 ID
    private int cityId;
    // 战略目标
    private int targetCityId;
    // 自动行军
    private boolean isAutoMove = true;
    // 自动战斗
    private boolean isAutoBattle;
    // 玩家点移动的时间
    private long beginMoveTime;
    // 下个城市到达时间，出发时才设置，加速时不会小于当前时间
    private long arriveTime;
    // 加速次数
    private int speedUpNum;
    // 士兵数量
    private long soldierNum;
    // 最大士兵
    private long maxSoldier;
    //最近一次同步兵力时间
    private long lastSyncSoldierTime;
    // 移动更新时间
    @JSONField(serialize = false)
    private long moveUpdateTime;

    // 连胜次数
    private int winTimes;
    // 上次胜利时间
    private long winTime;
    // 本次补兵后的战斗次数
    private int curBattleNum;

    public CrossSuiTangTeam() {
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public long getLastSyncSoldierTime() {
        return lastSyncSoldierTime;
    }

    public void setLastSyncSoldierTime(long lastSyncSoldierTime) {
        this.lastSyncSoldierTime = lastSyncSoldierTime;
    }

    public void setMoveUpdateTime(long moveUpdateTime) {
        this.moveUpdateTime = moveUpdateTime;
    }

    public long getMoveUpdateTime() {
        return moveUpdateTime;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getFromCityId() {
        return fromCityId;
    }

    public void setFromCityId(int fromCityId) {
        this.fromCityId = fromCityId;
    }

    public int getTargetCityId() {
        return targetCityId;
    }

    public void setTargetCityId(int targetCityId) {
        this.targetCityId = targetCityId;
    }

    public boolean isAutoMove() {
        return isAutoMove;
    }

    public void setAutoMove(boolean autoMove) {
        isAutoMove = autoMove;
    }

    public boolean isAutoBattle() {
        return isAutoBattle;
    }

    public void setAutoBattle(boolean autoBattle) {
        isAutoBattle = autoBattle;
    }

    public long getBeginMoveTime() {
        return beginMoveTime;
    }

    public void setBeginMoveTime(long beginMoveTime) {
        this.beginMoveTime = beginMoveTime;
    }

    public long getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(long arriveTime) {
        this.arriveTime = arriveTime;
    }

    public long getSoldierNum() {
        return soldierNum;
    }

    public void setSoldierNum(long soldierNum) {
        this.soldierNum = soldierNum;
    }

    public long getMaxSoldier() {
        return maxSoldier;
    }

    public void setMaxSoldier(long maxSoldier) {
        this.maxSoldier = maxSoldier;
    }

    public int getWinTimes() {
        return winTimes;
    }

    public void setWinTimes(int winTimes) {
        this.winTimes = winTimes;
    }

    public long getWinTime() {
        return winTime;
    }

    public void setWinTime(long winTime) {
        this.winTime = winTime;
    }

    public int getSpeedUpNum() {
        return speedUpNum;
    }

    public void setSpeedUpNum(int speedUpNum) {
        this.speedUpNum = speedUpNum;
    }

    public int getCurBattleNum() {
        return curBattleNum;
    }

    public void setCurBattleNum(int curBattleNum) {
        this.curBattleNum = curBattleNum;
    }
}
